.calculator-page {
  background-color: #f7f8fa;
  min-height: 100vh;
}

.calculator {
  padding: 20px;
  margin-top: 20px;
}

.display {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  text-align: right;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;

  .expression-text {
    font-size: 24px;
    color: #999;
    margin-bottom: 8px;
    min-height: 24px;
  }

  .display-text {
    font-size: 60px;
    font-weight: bold;
    color: #333;
  }
}

.keypad {
  margin-top: 20px;
}

.key {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  font-weight: bold;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

  &.number-key {
    background-color: #fff;
    color: #333;

    &.zero {
      width: 100%;
    }
  }

  &.function-key {
    background-color: #f2f2f2;
    color: #333;
  }

  &.operator-key {
    background-color: #1890ff;
    color: #fff;
  }

  &.equals-key {
    background-color: #ff9500;
    color: #fff;
  }
}
